<?php

if ( !defined( "GLOBALS" ) )
{
	define	('GLOBALS',1);

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

	# caching modes - mysql and file bases caches will need a CRON job to do housekeeping
	define	('CACHE_TYPE_MEMCACHE',			0);
	define	('CACHE_TYPE_APC',				1);
	define	('CACHE_TYPE_MYSQL',			2);
	define	('CACHE_TYPE_FILE',				3);
	
	# default cache
	define	('CACHE_TYPE_DEFAULT',			CACHE_TYPE_MEMCACHE);
	
	# time periods for cache to survive
	define	('CACHE_TIME_TINY',				6*2);
	define	('CACHE_TIME_ONE_MIN',			60*1);
	define	('CACHE_TIME_TWO_MINS',			60*2);
	define	('CACHE_TIME_FIVE_MINS',		60*2);
	define	('CACHE_TIME_HOUR',				60*60);
	define	('CACHE_TIME_DAY',				60*60*24);
	define	('CACHE_TIME_WEEK',				60*60*24*7);
	define	('CACHE_TIME_YEAR',				60*60*24*365);

	# cache directory	
	define	('CACHE_DIR',					'data/cache/');
	
	# this may go into the host globals. machine of the memcache server
	define	('CACHE_SERVER_IP',				'78.129.214.170');
	
	# debug mode will time and log all hits
	define	('CACHE_DEBUG_MODE',			true);
	# this can turn off all caching (so you just will always get the data fresh)
	define	('CACHE_ON',					true);
	
	# all logging goes here by default
	define	('LOG_FILE',					"logfile.txt");
	define	('ERROR_LOG_FILE',				"errors.txt");
	
	
		
	# array of localized text
	define	('LANGUAGE_ARRAY_PATH',		'data/languages/');
	




	
	
	# empty language string array	
	$gLanguageString				=	array();
	
	
	
	
	
	
	
	
		
	# my pqp debug
	define	('PQP_DEBUG',				false);
	# related to mysql PQP mysql profiling (can be abstracted out and removed)
	$gQueries;
	$gQueriesArray;

	


	# mysql section
	define	('MYSQL_USER',				'kreativ1_sladmin');
	define	('MYSQL_PASS',				'A7wQzxC');
	define	('MYSQL_DBASE',				'sl2DB');
	define	('MYSQL_HOST',				'localhost');

	define	('MYSQL_DEBUG_MODE',		true);




}